﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_Controls_Header : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    public string GetFullName()
    {
        ProfileCommon f = Profile.GetProfile(HttpContext.Current.User.Identity.Name);
        if (f != null)
            return  f.FullName;
        else
            return HttpContext.Current.User.Identity.Name;
    }
}